package com.kabuda.blog.service;

import com.kabuda.blog.vo.Result;
import com.kabuda.blog.vo.params.PageParams;
import com.kabuda.blog.vo.params.ArticleParam;

/**
 * @author kabuda
 * @create 2023-01-16 14:56
 */
public interface ArticleService {

    Result listArticles(PageParams pageParams);

    Result hotsArticles(int limit);

    Result newArticles(int limit);

    Result listArchives();

    Result findArticleById(Long id);

    Result publish(ArticleParam articleParam);

    Result search(String searchString);

}
